The Source Control Integration API > Enablers > SCS_canPut()

 

SCS_canPut()

Description

Returns whether or not the Put menu item should be enabled.

Arguments

connectionData, localPathList, remotePathList, numItems

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
localPathList is a list of fully qualified local file or folder paths to put.
remotePathList is a mirrored list of fully qualified remote file or folder paths.
numItems is the number of items in each list.

Returns

true if enabled, false if not.